Skip to content

Conversation

@sushilk123
Copy link

@sushilk123 sushilk123 commented Oct 13, 2025

Description

Adds missing CLI examples for AWS Translate service commands to improve documentation coverage.

Changes

  • Add translate-text example showing basic translation and auto-detection of source language
  • Add list-languages example showing supported languages listing with optional display language
  • Improves documentation coverage for AWS Translate service from 1 to 3 examples

Testing

Examples follow existing AWS CLI documentation format and provide realistic use cases for common translation workflows including basic text translation and language discovery.

- Add translate-text example showing basic translation and auto-detection
- Add list-languages example showing supported languages listing
- Improves documentation coverage for AWS Translate service
@elysahall elysahall self-assigned this Oct 13, 2025
@elysahall elysahall added documentation This is a problem with documentation. pr:work-in-progress This PR is a draft and needs further work. labels Oct 13, 2025
@sushilk123
Copy link
Author

Hi, Could someone please review the PR?

@sushilk123
Copy link
Author

@elysahall

Copy link
Collaborator

@elysahall elysahall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sushilk123, I only have a few requested changes. After you update your examples, commit and push to this PR. Then we should be good for maintainer review.

@@ -0,0 +1,62 @@
**To list supported languages**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**To list supported languages**
**Example 1: To list supported languages**

]
}

**To list languages with a specific display language**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**To list languages with a specific display language**
**Example 2: To list languages with a specific display language**

}
]
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link

"LanguageCode": "am"
}
]
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link

"SourceLanguageCode": "en",
"TargetLanguageCode": "es"
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link

"TranslatedText": "Bonjour",
"SourceLanguageCode": "en",
"TargetLanguageCode": "fr"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a "For more information" link for every example in this request. See format in the contribution guide: aws.github.io/aws-cli/docs_styleguide.html#for-more-information-link

@@ -0,0 +1,33 @@
**To translate text from one language to another**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**To translate text from one language to another**
**Example 1: To translate text from one language to another**

"TargetLanguageCode": "es"
}

**To translate text with auto-detection of source language**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**To translate text with auto-detection of source language**
**Example 2: To translate text with auto-detection of source language**

@elysahall elysahall assigned sushilk123 and unassigned elysahall Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This is a problem with documentation. pr:work-in-progress This PR is a draft and needs further work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants